﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlBaoCaoDiemDanh.ascx.cs" Inherits="ControlBaoCaoDiemDanh" %>

<%@ Register assembly="DevExpress.Web.ASPxPivotGrid.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPivotGrid" tagprefix="dxwpg" %>
 <%@ Register assembly="DevExpress.Web.ASPxPivotGrid.v9.2.Export, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraPivotGrid.Web" tagprefix="dxpgw" %>

<%@ Register src="uscTitleForm.ascx" tagname="uscTitleForm" tagprefix="uc2" %>
<%@ Register src="uscMsgBox.ascx" tagname="uscMsgBox" tagprefix="uc3" %>


<uc2:uscTitleForm ID="uscTitleForm1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Export" />
</Triggers>
    <ContentTemplate>
    
                <table style="width:500px;">
                    <tr align="center">
                        <td align="right" style="width:50%">
                        Chọn trung tâm phân phối : 
                            &nbsp;</td>
                        <td align="left">
                            <asp:DropDownList Width="100px" ID="DropVung" runat="server">
                            </asp:DropDownList> </td>
                    </tr>
                    <tr align="center">
                        <td colspan="2">
                      Chọn tháng :  &nbsp;
                            <asp:DropDownList ID="DropThang" runat="server" Width="100px">
                            </asp:DropDownList>
                            &nbsp; năm : &nbsp;
                            <asp:DropDownList ID="DropNam" runat="server" Width="100px">
                            </asp:DropDownList>
                           </td>
                    </tr>
                    <tr align="center">
                        <td colspan="2">
                            <asp:Button ID="XemBaoCao" runat="server" Text="Báo cáo" 
                                 Width="100px" onclick="XemBaoCao_Click1" />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button  Width="100px" ID="Export" 
                                runat="server" Text="Xuất ra Excel" onclick="Export_Click" />
                            &nbsp;</td>
                    </tr>
                </table>
                <br />
                <dxwpg:ASPxPivotGrid ID="ASPxPivotGrid1" runat="server">
        </dxwpg:ASPxPivotGrid>
              
                <br />
           
        <dxpgw:ASPxPivotGridExporter ASPxPivotGridID="ASPxPivotGrid1"  ID="ASPxPivotGridExporter1" runat="server">
        </dxpgw:ASPxPivotGridExporter>
          <uc3:uscMsgBox ID="uscMsgBox1" runat="server" />
        </ContentTemplate>
</asp:UpdatePanel>
   

   
